Repository navigation
Upgrade OpenAPI dependencies and use pb33f YAML and testify - #186
Merged
Merged
Conversation
daveshanley
marked this pull request as ready for review
October 6, 2026 13:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade Wiretap's OpenAPI dependencies and move all direct YAML and test assertion imports to pb33f modules.
v0.41.6, libopenapi-validatorv0.16.1, go-yamlv0.1.1, and testifyv0.1.1.v0.0.83and libasyncapiv0.0.4replace unreleased commit pins. JSON Schema validation now usesgithub.com/pb33f/jsonschema/v6 v6.0.3.Validation: full Go tests, vet, binary build, module verification, CLI help and OpenAPI dry run. Race tests cover configuration, mocking, validation, daemon, HAR, and spec packages. The new concurrent UUID regression failed under the race detector before the fix and passed after it. Independent correctness and de-slop reviews found no remaining defects. CI verifies the daemon, monitor UI, and both Docker architectures.
Risk: medium. This changes shared parsing/validation libraries and requires Go 1.26. Rendering is serialized within each mock engine to protect its random state. Ranch and Viper still bring upstream testify/YAML v3 modules into the indirect dependency graph; Wiretap's direct imports use pb33f.